/// 文章实体类
class Article {
  int? id;
  String? title;
  String? thumb;
  String? content;
  String? createTime;

  Article({this.id, this.title, this.thumb, this.content, this.createTime});

  factory Article.fromJson(Map<String, dynamic> json) {
    return Article(
      id: json['id'],
      title: json['title'],
      thumb: json['thumb'],
      content: json['content'],
      createTime: json['create_time'],
    );
  }
}